package sample.sub2.section12

class Rational(n: Int) extends Ordered[Rational] {
	def number = n;
	
	def compare(that : Rational) = (this.number - that.number);

}